package com.org.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class UserDto extends Page implements Serializable {


    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 家庭住址
     */
    private String address;

    /**
     * 传真
     */
    private String fax;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 座机号
     */
    private String landlineNumber;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态  0：禁用   1：正常
     */
    private Integer status;

    /**
     * 部门ID
     */
    private Long deptId;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /**
     * 盐
     */
    private String salt;

    /**
     * 联系人
     */
    private String contactMember;

    /**
     * 公寓运营商类型 1分散式 2 集中式
     */
    private Integer apartmentOperatorType;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 省
     */
    private String province;

    private String city;

    /**
     * 县
     */
    private String country;

    private Long addUserid;

    /**
     * 是否删除  -1：已删除  0：正常
     */
    private Integer delFlag;

    /**
     * 审核状态 1审核通过 2 审核不通 3 待审核 4未完善企业信息
     */
    private Integer approvalFlag;

    private String dname;

    private String[] cityids;

    private String[] jueseids;

    private Integer[] CircleIds;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getLandlineNumber() {
        return landlineNumber;
    }

    public void setLandlineNumber(String landlineNumber) {
        this.landlineNumber = landlineNumber;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getContactMember() {
        return contactMember;
    }

    public void setContactMember(String contactMember) {
        this.contactMember = contactMember;
    }

    public Integer getApartmentOperatorType() {
        return apartmentOperatorType;
    }

    public void setApartmentOperatorType(Integer apartmentOperatorType) {
        this.apartmentOperatorType = apartmentOperatorType;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Long getAddUserid() {
        return addUserid;
    }

    public void setAddUserid(Long addUserid) {
        this.addUserid = addUserid;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getApprovalFlag() {
        return approvalFlag;
    }

    public void setApprovalFlag(Integer approvalFlag) {
        this.approvalFlag = approvalFlag;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String[] getCityids() {
        return cityids;
    }

    public void setCityids(String[] cityids) {
        this.cityids = cityids;
    }

    public String[] getJueseids() {
        return jueseids;
    }

    public void setJueseids(String[] jueseids) {
        this.jueseids = jueseids;
    }

    public Integer[] getCircleIds() {
        return CircleIds;
    }

    public void setCircleIds(Integer[] circleIds) {
        CircleIds = circleIds;
    }
}
